#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "vlcplayer.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent), ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    player = new VlcPlayer(this);
    //player->play("http://foo:bar@jjk.kapsi.fi/pub/pw/pisara.mp4");
    player->play("/Users/jaakko/Projects/TVFeedView/test/pisara.mp4");

    setCentralWidget(player->widget());player->widget()->show();
    show();
}

MainWindow::~MainWindow()
{
    delete ui;
}
